Skip to main content
Version: 5.2

Mailing Service

The TimePunch contains all DTOs needed to send emails mailing service. These include in particular the addresses of DTOs.

PlainMailAddressDto

This class is used for mail recipients that are not associated with any user profile in TimePunch.

DatatypeNameDescription
MailAddressTypeMailAddressTypeDefines the address type (From, Sender, To, CC, Bcc).
StringMailAddressMail Address
StringDisplayNameDisplay name of the mail receiver/sender

UserMailAddressDto

This class is used for all mail recipients that can be mapped to a user profile in TimePunch.

DatatypeNameDescription
MailAddressTypeMailAddressTypeDefines the address type (From, Sender, To, CC, Bcc).
GuidUserIdId of the TimePunch User Profile.

MailAttachementDto

This class contains all the data of an attachment that can be sent by the TimePunch mailing service.

DatatypeNameDescription
StringFileNameFile name of the attachement.
Byte[]ContentContent of the attachement to send.
StringMimeTypeMime Type of the attachement